var CONFIG = module.exports;

CONFIG.TOKENSECRET = 'jsonwebtoken20190613150331';
CONFIG.SIGNSECRET = 'sjhgfisvcsdakj564shjcgsdhu';
CONFIG.EXPIRESIN = '48h';
CONFIG.ISSUER = 'niyueling';   

CONFIG.PICSMAINPATH = '/mnt/niyueling';
CONFIG.baseImagePath = 'http://pic.niyueling.cn:8000';

CONFIG.CLIENTID = 'AVgaWnl8DHUbyffWwUVlpIZW';
CONFIG.CLIENTSECRET = '95IWYSSBALRPZvmgGqgCMzi4B3a5Y6Mc';
CONFIG.GRANTTYPE = 'client_credentials';
CONFIG.ACCESSTOKEN = '24.ae6dcbd032d8b3e088f1f8c1c4f55766.2592000.1563586376.282335-16548033';

CONFIG.MESSAGE_APP_ID = '1400229045';
CONFIG.MESSAGE_APP_SECRET = '656e4a4de67ab575bd924dd2401a87ab';

CONFIG.TEST_DB = {
    host: '49.235.28.88',
    port: '3306',
    user: 'root',
    password: 'NYLzxw.68824',
    database: 'niyueling',
    connectionLimit: 400,
    charset: 'utf8mb4'
};

CONFIG.GETACCESSTOKENPATH = 'https://aip.baidubce.com/oauth/2.0/token';
CONFIG.GENERALBASICPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic';
CONFIG.GENNERALPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/general';
CONFIG.HANDWRITINGPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/handwriting?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.IDCARDPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/idcard?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.ACCURATE = 'https://aip.baidubce.com/rest/2.0/ocr/v1/accurate?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.BANKCARDPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/bankcard?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.BUSSINESSLICENSEPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/business_license?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.PASSPORTPATH = 'https://aip.baidubce.com/rest/2.0/ocr/v1/passport?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.FORMOCRREQUESTPATH = 'https://aip.baidubce.com/rest/2.0/solution/v1/form_ocr/request?access_token=' + CONFIG.ACCESSTOKEN;
CONFIG.GETREQUESTRESULTPATH = 'https://aip.baidubce.com/rest/2.0/solution/v1/form_ocr/get_request_result?access_token=' + CONFIG.ACCESSTOKEN;